gtkplacesidebar: use GtkListBox
authorCarlos Soriano <csoriano@gnome.org>
Wed, 6 May 2015 21:07:17 +0000 (23:07 +0200)
committerCarlos Soriano <csoriano@gnome.org>
Tue, 16 Jun 2015 14:19:37 +0000 (16:19 +0200)
commitfbbad5deecb635af34a890a540e8e272b95c4d9b
tree90289307eaecc1d91065d3088a5c12c05619bcc1
parentd881b1534914398046f7e5237321f978ff073441
gtkplacesidebar: use GtkListBox

We were using GTkTreeView in a simple list. Also, as we know,
GtkCellRenderers are not the best way to theme and manipulate
widgets.

So instead use a GtkListBox to modernize the GtkPlacesSidebar,
and in the way clean up some parts of the code (like headings)
which were not used anymore.
Also we don't use a model anymore, since the data is simple
enough to manage it in a subclass of the row itself.
gtk/Makefile.am
gtk/gtkplacessidebar.c
gtk/gtkplacessidebarprivate.h [new file with mode: 0644]
gtk/gtksidebarrow.c [new file with mode: 0644]
gtk/gtksidebarrowprivate.h [new file with mode: 0644]
gtk/theme/Adwaita/_colors.scss
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css
gtk/ui/gtksidebarrow.ui [new file with mode: 0644]